package com.fruit.service.pay;

import java.util.Map;

import com.fruit.pojo.pay.PayInfo;
import com.fruit.pojo.pay.TransactionFlow;

/** 支付接口类
 * 修改时间：2016.07.14
 */
public interface PayManager {

	/**
	 * 提交订单
	 * @param pi
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> saveSubmitOrder(PayInfo pi);
	
	/**
	 * 处理交易流水
	 * @param lpcId
	 * @param transactionCode
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> updateTransaction(long lpcId, String transactionCode);
	
	/**
	 * 获取支付信息
	 * @param transactionCode
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public TransactionFlow getTransactionFlow(String transactionCode);
	
}
